package com.deyang.system.service.impl;

import com.deyang.common.core.domain.entity.SysRegion;
import com.deyang.system.mapper.SysRegionMapper;
import com.deyang.system.service.ISysRegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysRegionServiceImpl implements ISysRegionService {

    @Autowired
    private SysRegionMapper regionMapper;

    @Override
    public List<SysRegion> selectDeptList(SysRegion region) {
        return regionMapper.selectDeptList(region);
    }
}
